package com.iplatform.file.function.resourcedata.dao;

import com.iplatform.file.function.resourcedata.entity.MenuBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface MenuDao {
	
	List<MenuBean> selectAllMenu();

	List<MenuBean> selectChildByParentId(Map<String,Object> map);

	List<MenuBean> selectById(Long id);
	
	int insert(MenuBean menuBean);
	
	int update(MenuBean menuBean);
	
	int deleteById(Long id);
	
	
	MenuBean selectChildByParentIdAndName(Map<String, Object> map);
	
	
	
	MenuBean selectByMenuId(Long id);
	
	
	
	List<MenuBean> findChildByParentId(Long parentId);
	
	
}
